#ifndef AUDIOHOLDER_H
#define AUDIOHOLDER_H

#include <allegro5/allegro_audio.h>
#include <allegro5/allegro_acodec.h>
#include <stdio.h>
#include <vector>
#include "Sprite.h"

using namespace std;

class AudioHolder {
private:
	static std::vector<ALLEGRO_SAMPLE *>samples;
	static ALLEGRO_SAMPLE_ID *sample_id;
public:
	AudioHolder(void);
	~AudioHolder(void);
	static bool Initialize(void);
	static void ChangeToSound(const char *);
	static void Register(Sprite *, char *name);
	static void Pause(void);
	static void ChangeToSound(Sprite *, char *name);
	static void Start(Sprite *);
	static void Stop(Sprite *);
};

#endif